# x = 10
# y = 3.14
# result = x + y
# print(result)
# print(type(result))

# value = [1]
# if value:
#     print("True")
# else:
#     print("False")

# x = "42"
# y = int(x)
# print(y, type(y))

# x = 3.14
# y = str(x)
# print(y, type(y))

# y = int(x)
# print(y, type(y))

# data = (1, 2, 3)
# print(list(data))

# value = "Python"
# print(bool(value))

s = "abc"
# print(int(s))

# data = ["42", "not_a_number", "100"]
# numbers = [int(x) for x in data if x.isdigit()]
# print(numbers)

# from datetime import datetime
# date_str = "2024-11-24"
# date_obj = datetime.strptime(date_str, "%Y-%m-%d")
# print(date_obj)

# data = ["10", "20", "thirty", "40", "3.14"]
# new_data = [int(x) for x in data if x.isdigit()]
# print(new_data)

# information = ("name", "Alice", "age", 30)
# new_infor = dict(information[0]==information[1],information[2]==information[3])
# print(new_infor)

# tuple_data = ("name","Alice", "age", 30)
# print(tuple_data[::2],tuple_data[1::2])
# dictionary = dict(zip(tuple_data[::2], tuple_data[1::2]))
# print(dictionary)

# list_data = [1.1, 2.2, 3.3]
# str_data = [str(x) for x in list_data]
# print(str_data,type(str_data))

# float_list = [1.1, 2.2, 3.3]
# str_list = list(map(str, float_list))
# print(str_list)

